# -*- coding:utf-8 -*-
from django.conf.urls import url

from .views import CommunityView, CommunityDetailView


urlpatterns = [
    url(r'list/$', CommunityView.as_view(), name='community_list'),
    url(r'detail/(?P<topic_id>\d+)$', CommunityDetailView.as_view(), name='community_detail'),
]